projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67a9d5f
)
Define INITGUID only for mingw.org compiler
author
Hib Eris
<hib@hiberis.nl>
Mon, 13 May 2013 13:45:18 +0000
(15:45 +0200)
committer
Hib Eris
<hib@hiberis.nl>
Sun, 2 Jun 2013 08:42:26 +0000
(10:42 +0200)
Defining INITGUID causes a build failure with mingw-w64 > r5589.
https://bugzilla.gnome.org/show_bug.cgi?id=699673
gdk/win32/gdkdnd-win32.c
patch
|
blob
|
history
diff --git
a/gdk/win32/gdkdnd-win32.c
b/gdk/win32/gdkdnd-win32.c
index 35ab20461fc04a1c7096ea8c11eb6504153a128c..6b350592a957f1e2e5e4b6533000f9a30a7a6a53 100644
(file)
--- a/
gdk/win32/gdkdnd-win32.c
+++ b/
gdk/win32/gdkdnd-win32.c
@@
-68,7
+68,11
@@
*
*/
+/* The mingw.org compiler does not export GUIDS in it's import library. To work
+ * around that, define INITGUID to have the GUIDS declared. */
+#if defined(__MINGW32__) && !defined(__MINGW64_VERSION_MAJOR)
#define INITGUID
+#endif
#include "gdkdnd.h"
#include "gdkproperty.h"